package com.learner.pojo.exam;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
* @author ice2020x
* @Date: 2023/3/7
* @Description: 考试里的题目实体
**/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "exam_question_exam")
public class ExamQuestion implements Serializable {

    private static final long serialVersionUID = -1;
    /**
     * 对应数据库的主键(uuid,自增id,雪花算法, redis,zookeeper) 主键 考试题目表的id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 问题的id字符串 1,2,3
     */
    private String questionIds;
    /**
     * 考试的id
     */
    private Integer examId;
    /**
     * 考试中每一题的分数
     */
    private String scores;

}
